﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001301 RID: 4865
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueReviveInfoScNotify : IMessage<SyncRogueReviveInfoScNotify>, IMessage, IEquatable<SyncRogueReviveInfoScNotify>, IDeepCloneable<SyncRogueReviveInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D6C RID: 15724
		// (get) Token: 0x0600D9D1 RID: 55761 RVA: 0x00247F21 File Offset: 0x00246121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueReviveInfoScNotify> Parser
		{
			get
			{
				return SyncRogueReviveInfoScNotify._parser;
			}
		}

		// Token: 0x17003D6D RID: 15725
		// (get) Token: 0x0600D9D2 RID: 55762 RVA: 0x00247F28 File Offset: 0x00246128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueReviveInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D6E RID: 15726
		// (get) Token: 0x0600D9D3 RID: 55763 RVA: 0x00247F3A File Offset: 0x0024613A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueReviveInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600D9D4 RID: 55764 RVA: 0x00247F41 File Offset: 0x00246141
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueReviveInfoScNotify()
		{
		}

		// Token: 0x0600D9D5 RID: 55765 RVA: 0x00247F49 File Offset: 0x00246149
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueReviveInfoScNotify(SyncRogueReviveInfoScNotify other) : this()
		{
			this.reviveInfo_ = ((other.reviveInfo_ != null) ? other.reviveInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D9D6 RID: 55766 RVA: 0x00247F7E File Offset: 0x0024617E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueReviveInfoScNotify Clone()
		{
			return new SyncRogueReviveInfoScNotify(this);
		}

		// Token: 0x17003D6F RID: 15727
		// (get) Token: 0x0600D9D7 RID: 55767 RVA: 0x00247F86 File Offset: 0x00246186
		// (set) Token: 0x0600D9D8 RID: 55768 RVA: 0x00247F8E File Offset: 0x0024618E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReviveInfo ReviveInfo
		{
			get
			{
				return this.reviveInfo_;
			}
			set
			{
				this.reviveInfo_ = value;
			}
		}

		// Token: 0x0600D9D9 RID: 55769 RVA: 0x00247F97 File Offset: 0x00246197
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueReviveInfoScNotify);
		}

		// Token: 0x0600D9DA RID: 55770 RVA: 0x00247FA5 File Offset: 0x002461A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueReviveInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.ReviveInfo, other.ReviveInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D9DB RID: 55771 RVA: 0x00247FD8 File Offset: 0x002461D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.reviveInfo_ != null)
			{
				num ^= this.ReviveInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D9DC RID: 55772 RVA: 0x00248014 File Offset: 0x00246214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D9DD RID: 55773 RVA: 0x0024801C File Offset: 0x0024621C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D9DE RID: 55774 RVA: 0x00248025 File Offset: 0x00246225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.reviveInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.ReviveInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D9DF RID: 55775 RVA: 0x00248058 File Offset: 0x00246258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.reviveInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ReviveInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D9E0 RID: 55776 RVA: 0x00248098 File Offset: 0x00246298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueReviveInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.reviveInfo_ != null)
			{
				if (this.reviveInfo_ == null)
				{
					this.ReviveInfo = new RogueReviveInfo();
				}
				this.ReviveInfo.MergeFrom(other.ReviveInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D9E1 RID: 55777 RVA: 0x002480EC File Offset: 0x002462EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D9E2 RID: 55778 RVA: 0x002480F8 File Offset: 0x002462F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.reviveInfo_ == null)
					{
						this.ReviveInfo = new RogueReviveInfo();
					}
					input.ReadMessage(this.ReviveInfo);
				}
			}
		}

		// Token: 0x040056AD RID: 22189
		private static readonly MessageParser<SyncRogueReviveInfoScNotify> _parser = new MessageParser<SyncRogueReviveInfoScNotify>(() => new SyncRogueReviveInfoScNotify());

		// Token: 0x040056AE RID: 22190
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056AF RID: 22191
		public const int ReviveInfoFieldNumber = 14;

		// Token: 0x040056B0 RID: 22192
		private RogueReviveInfo reviveInfo_;
	}
}
